<%= error_messages_for 'representative' %>

<%= start_form_tag :action => 'create' %>


<!--[form:representative]-->
<p><label for="representative_code">T&iacute;tulo</label><br/>
<%= text_field 'representative', 'code'  %></p>

<p><label for="representative_name">Name</label><br/>
<%= text_field 'representative', 'name'  %></p>

<p><label for="representative_lastname">Lastname</label><br/>
<%= text_field 'representative', 'lastname'  %></p>

<p><label for="representative_email">Email</label><br/>
<%= text_field 'representative', 'email'  %></p>

<p><label for="representative_image_url">Image url</label><br/>
<%= text_field 'representative', 'image_url'  %></p>

<p><label for="representative_personal_inf">Personal information</label><br/>
<%= text_field 'representative', 'personal_inf'  %></p>


<p><label for="representative_phone">Phone</label><br/>
<%= text_field 'representative', 'phone'  %></p>

<p><label for="representative_career">Career</label><br/>
<%= text_field 'representative', 'career'  %></p>

<p><label for="representative_password">Password</label><br/>
<%= password_field 'representative', 'password'  %></p>

<p><label for="representative_expire_date">Expire date</label><br/>
<%= datetime_select 'representative', 'expire_date'  %></p>


  <%= submit_tag "Create" %>
<%= end_form_tag %>

<!--[eoform:representative]-->

